package com.yunhe.inter;

import java.util.List;

import com.yunhe.bean.CommodityClassify;
import com.yunhe.bean.page;

public interface CommodityClassifyInter {
	 //分类商品展示
    public List<CommodityClassify> CommodityClassify(page pg);
    //所有大分类展示
    public List<CommodityClassify> CommodityClassifyBig();
    //分类数量
    public int ClassifyCount();
    //小分类删除
    public void DeleteSmallClassify(int id);
    //大分类删除
    public void DeleteBigClassify(int id);
    public void DeleteSmallBigClassify(int id);
    //修改大类名
    public void ChangeBigClassify(CommodityClassify cc);
    //修改小类名
    public void ChangeSmallClassify(CommodityClassify cc);
    //增加小类
    public void AddSmallClassify(CommodityClassify cc);
    //展示所有小类信息
    public List<CommodityClassify> ShowSmallClassify();
}
